Release 10.1A: OpenEdge Development:
Progress Dynamics Administration
Upgrading existing databases with the DCU
Deployments must upgrade existing databases as well as create new ones. Modifying the DCU to upgrade your application database is not difficult. The most important part of the process is planning when to apply each upgrade. You can apply incremental schema definition files, fix programs, or load ADOs to upgrade existing databases.
Patch levels are tracked using the database sequences described in the "Database nodes" section. Even if you have not changed anything else in the schema, that sequence is incremented for each patch level. That means that each patch level includes the application of an incremental
.dffile.A deployment can apply several patch levels to a database. The database node for each database specifies a minimum version that sets a lower bound on the existing databases that can be upgraded by a deployment.
The general process for adding upgrades to your customized DCU is as follows:
- Plan on how to properly apply your upgrades. In particular, consider when the upgrade should happen during the DCU process.
- Create an upgrade file for the patch level. For example, a DynSports upgrade file might look like this:
- Use the release versioning tools to create an ADO List upgrade file if any ADOs are being applied for the patch level.
- Add the patch level description to the DCU driver file. For example, a DynSports patch level description might look like this:
- Test each new patch level to see how it interacts with previous upgrades.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |